/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package cn.matezk.dms.controller.things;

import cn.matezk.dms.things.model.query.FotaPkgQuery;
import cn.matezk.dms.things.model.req.FotaPkgReq;
import cn.matezk.dms.things.model.resp.FotaPkgResp;
import cn.matezk.dms.things.service.FotaPkgService;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RestController;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.controller.BaseController;
import top.continew.starter.extension.crud.enums.Api;

/**
 * FOTA固件包 API
 *
 * @author 程道林
 * @since 2025/09/25 20:44
 */
@Tag(name = "FOTA固件包 API")
@Validated
@RestController
@RequiredArgsConstructor
@CrudRequestMapping(value = "/things/fotaPkg", api = {Api.PAGE, Api.DETAIL, Api.ADD, Api.UPDATE, Api.DELETE})
public class FotaPkgController extends BaseController<FotaPkgService, FotaPkgResp, FotaPkgResp, FotaPkgQuery, FotaPkgReq> {
}